package cn.tedu.front.details.dao.persest.repository.impl;

import cn.tedu.front.details.dao.persest.mapper.JobDetailMapper;
import cn.tedu.front.details.dao.persest.repository.JobDetailRepository;
import cn.tedu.front.details.pojo.vo.ListJobDetailVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class JobDetailRepositoryImpl implements JobDetailRepository {
    @Autowired
    JobDetailMapper mapper;
    @Override
    public List<ListJobDetailVO> listJobDetailByPostTypeId(Long postTypeId) {
        List<ListJobDetailVO> listJobDetailVOS = mapper.listJobDetailByPostTypeId(postTypeId);
        return  listJobDetailVOS;

    }
}
